package com.wbw.ssb.service;

import com.wbw.ssb.dto.UserParam;
import com.wbw.ssb.mbg.entity.User;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: guibo
 * @Description:
 * @Date: Created in 0:42 2021/5/19
 * @Modified By:
 */

public interface UserService {
    User getUserByTel(String tel);

    String login(String tel,String password);

    Integer register(UserParam userParam);

    Integer delete(List<Long> ids);

    List<User> list(Integer PageNum,Integer PageSize,User user);

    Integer update(User user);
}
